package com.ywg.mapper;

import com.ywg.entity.Attorney;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 24698
* @description 针对表【attorney(律师)】的数据库操作Mapper
* @createDate 2025-03-04 15:02:09
* @Entity com.ywg.entity.Attorney
*/
@Mapper
public interface AttorneyMapper extends BaseMapper<Attorney> {
    /**
     * 根据名称获取对应的id
     * @param name 姓名
     * @return id
     */
    Long getAttId(@Param("name") String name);
}




